from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.views.generic import TemplateView
from blog.views import test_hello, test_current_date, test_hours_ahead, test_hours_ahead_use_template, test_hours_ahead_use_template_and_render_to_response, test_person_list

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'justinme.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^$',TemplateView.as_view(template_name='index.html')),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^test/hello/$', test_hello),
    url(r'^test/current_date/$', test_current_date),
    # url(r'^test/time/plus/(\d{1,2})/$', test_hours_ahead),
    # url(r'^test/time/plus/(\d{1,2})/$', test_hours_ahead_use_template),
    url(r'^test/time/plus/(\d{1,2})/$', test_hours_ahead_use_template_and_render_to_response),
    url(r'^test/person/list/$', test_person_list)
)
